package org.example.service;

import org.example.common.Result;
import org.example.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.Query;
import org.springframework.stereotype.Service;

/**
* @author 13326
* @description 针对表【hards_admin】的数据库操作Service
* @createDate 2024-12-28 16:30:43
*/
@Service
public interface AdminService extends IService<Admin> {

    Result login(Admin admin);

    Result register(Admin admin);

    Result getlist(Query query);

    Result add(Admin admin);

    Result updateadmin(Admin admin);

    Result deleteadmin(Integer id);
}
